function main_0() {
    document.getElementById('main').className = 'main_0'
    document.getElementById('user_text').innerText = "账号"
    document.getElementById('pass_text').innerText = "密码"
    document.getElementById('user').placeholder = "请输入账号"
    document.getElementById('pass').placeholder = "请输入密码"
    document.getElementById('pass').type = 'password'
    document.getElementById('pass').value = ''
    if (!document.getElementById('zhuce')) {
        let zhuce = document.createElement('div')
        zhuce.setAttribute('class', 'on_l')
        zhuce.setAttribute('id', 'zhuce')
        zhuce.setAttribute('onclick', 'main_1()')
        zhuce.innerText = "注册"
        document.getElementById('on').appendChild(zhuce)
    }
}

function main_1() {
    document.getElementById('main').className = 'main_1'
    document.getElementById('user_text').innerText = "邮箱名"
    document.getElementById('pass_text').innerText = "验证码"
    document.getElementById('user').placeholder = "请输入邮箱号"
    document.getElementById('pass').placeholder = "请输入验证码"
    document.getElementById('pass').type = 'text'
    document.getElementById('pass').value = ''
    if (document.getElementById('zhuce'))
        document.getElementById('zhuce').remove()
    if (document.getElementById('pass_c').className == "pass_on")
        document.getElementById('pass_c').className = "pass_off"
}